<!DOCTYPE html>
<html lang="en">
<% include( "include/head.html" ){}; %>
<body>
<% include( "include/nav.html" ){}; %>
<!-- Page Content -->
<div class="container">
    <div class="money my-4">
        已收到<span>${total}</span>笔捐赠，合计<span>${@moneyUtil.getMoney(totalMoney)}</span>元
    </div>
    <div class="pay pay_none">
        QQ: 11624317 捐赠认领
        <img src="${base!}/img/payali.png" width="120" height="120"/>
        <img src="${base!}/img/paywx.png" width="120" height="120"/>

    </div>
    <!-- Page Heading -->
    <h1 class="my-4">NutzWk
        <small>捐赠清单</small>
    </h1>

    <div class="">
        <div>
            <table class="table ">
                <caption>感谢各位网友打赏鼓励！</caption>
                <thead>
                <tr>
                    <th>序号</th>
                    <th>网友昵称</th>
                    <th>联系方式</th>
                    <th>捐赠留言</th>
                    <th>捐赠金额</th>
                    <th>捐赠日期</th>
                </tr>
                </thead>
                <tbody>
                <%for(o in list){%>
                <tr class="active">
                    <td>${oLP.index}</td>
                    <td>${o.nickname!}</td>
                    <td>${o.contact!}</td>
                    <td>${o.note!}</td>
                    <td class="money_show">${@moneyUtil.getMoney(o.money)}元</td>
                    <td>${o.payat!}</td>
                </tr>
                <%}%>
                </tbody>
            </table>
        </div>
    </div>
</div>
<!-- /.row -->

<!-- Pagination -->
<ul class="pagination justify-content-center">
    <li class="page-item">
        <a class="page-link" href="javascript:void(0);" aria-label="Previous">
            <span aria-hidden="true">&laquo;</span>
            <span class="sr-only">Previous</span>
        </a>
    </li>
    <%for(var i=1;i<pageCount+1;i++){%>
    <li class="page-item <%if(page==i){%>active<%}%>">
        <a class="page-link" href="/donation/${i}">${i}</a>
    </li>
    <%}%>
    <li class="page-item">
        <a class="page-link" href="javascript:void(0);" aria-label="Next">
            <span aria-hidden="true">&raquo;</span>
            <span class="sr-only">Next</span>
        </a>
    </li>
</ul>

</div>
<!-- /.container -->
<% include( "include/foot.html" ){}; %>
</body>
</html>